cmake_minimum_required(VERSION 2.6)
project(simg2img)

include_directories(include/)

add_executable(simg2img
    simg2img.c

    backed_block.c
    output_file.c
    sparse_crc32.c
    sparse.c
    sparse_err.c
    sparse_read.c
)

target_link_libraries(simg2img z)
